package com.education.basic.dao;

import com.education.basic.entity.Student;
import com.yunshangwoniu.core.baseDao.BaseDao;

public interface StudentDao extends BaseDao<Student>
{
	/**
	 * 通过院系编号和专业编号查询最后一条记录
	 * @param departmentCode
	 * @param majorCode
	 * @return
	 */
	Student getByDepartCodeAndMajorCode(String departmentCode,String majorCode);
	/**
	 * 通过学号查询学生
	 * @param stuNo
	 * @return
	 */
	Student getByStuNO(String stuNo);
}
